#ifndef QPARAMTREEWIDGET_H
#define QPARAMTREEWIDGET_H

#include <QTreeWidget>

class QMachineValue;

class QRuntimeTreeWidget : public QTreeWidget
{
    Q_OBJECT
public:
    explicit QRuntimeTreeWidget(QWidget *parent = 0);

    void    clear();
protected:
    void    contextMenuEvent(QContextMenuEvent *);
public:
    void    set_params(const QList<QMachineValue*> &values);

protected slots:
    void    value_changed();
signals:
    
public slots:
protected:
    QList<QMachineValue*>               m_values;
};

#endif // QPARAMTREEWIDGET_H
